//
//  YYLTestViewController.swift
//  XinlangWeibo
//
//  Created by yangyinglei on 2017/3/27.
//  Copyright © 2017年 yangyinglei. All rights reserved.
//

import UIKit

class YYLTestViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", target: self, action: #selector(pushAction))
        
        view.backgroundColor = UIColor.white
        
    }
    
    @objc private func pushAction() {
        let vc = YYLTestViewController()
        navigationController?.pushViewController(vc, animated: true)
    }

}
